package com.niuwa.p2p.dao.channel;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.LoanFinance;

@MyBatisDao
public interface LoanFinanceDao {
    int deleteByPrimaryKey(Long id);

    int insert(LoanFinance record);

    int insertSelective(LoanFinance record);

    LoanFinance selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanFinance record);

    int updateByPrimaryKey(LoanFinance record);
    
    /**
     * @Description: 根据项目号查询 借款企业财务状况
     * add by bwz at 2015年4月23日
     * @param projectNo
     * @return
     * @throws Exception
     */
    public List<LoanFinance> getFinanceByPrjNo(String projectNo) throws Exception;
}